package com.tz.tzgw.pc.web.model;

import com.alibaba.fastjson.JSON;

import java.util.List;

public class SiteTest {
    private Long id;
    private String title;
    private String sub_title;
    private String logo;
    private String keyword;
    private String content;
    private String beian;
    private String tongji;
    private String bottom_info;

    public SiteTest() {
        // 可以不做任何操作，或者添加你需要的初始化代码
    }

    public SiteTest(Long id, String title, String sub_title, String logo, String keyword, String content, String beian, String tongji, String bottom_info) {
        this.id = id;
        this.title = title;
        this.sub_title = sub_title;
        this.logo = logo;
        this.keyword = keyword;
        this.content = content;
        this.beian = beian;
        this.tongji = tongji;
        this.bottom_info = bottom_info;
    }

    public Long getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getSub_title() {
        return sub_title;
    }

    public String getLogo() {
        return logo;
    }

    public List<Object> getLogoList() {
        return JSON.parseArray(logo, Object.class);
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public void setLogoList(List<Object> logoList) {
        this.logo = JSON.toJSONString(logoList);
    }

    public String getKeyword() {
        return keyword;
    }

    public String getContent() {
        return content;
    }

    public String getBeian() {
        return beian;
    }

    public String getTongji() {
        return tongji;
    }

    public String getBottom_info() {
        return bottom_info;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setSub_title(String sub_title) {
        this.sub_title = sub_title;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setBeian(String beian) {
        this.beian = beian;
    }

    public void setTongji(String tongji) {
        this.tongji = tongji;
    }

    public void setBottom_info(String bottom_info) {
        this.bottom_info = bottom_info;
    }
}
